<?php
?>
<h2>Thông tin chung</h2>
<?php echo $form->create('', array('url' => '/configurations/save/common.ini','type'=>'file'));?>

					
<h3><label for="link_name">Thông tin trang</label></h3>
<div class="inside">
	<table class="form-table" style="width: 100%;" cellpadding="5" cellspacing="2">
		<tbody>
			<tr class="form-field">
				<th scope="row" valign="top"><label for="sitename-input">Tên website</label></th>
				<td><?php echo$form->input('Site.Sitename', array('id' => 'sitename-input','label' => '', 'style' => 'width: 95%'))?></td>
			</tr>
			<tr class="form-field">
				<th scope="row" valign="top"><label for="siteadmin-input">Tên trang admin</label></th>
				<td><?php echo$form->input('Site.Siteadmin', array('id' => 'siteadmin-input', 'size' => '50', 'style' => 'width: 95%', 'label' => ''))?></td>
			</tr>
		</tbody>
	</table>
</div>					
<h3><label for="link_name">Thông tin công ty</label></h3>
<table class="form-table" style="width: 100%;" cellpadding="5" cellspacing="2">
	<tbody>
		<tr class="form-field">
			<th scope="row" valign="top"><label for="companyname-input">Tên công ty</label></th>
			<td><?php echo$form->input('Company.name', array('id' => 'companyname-input','label' => '', 'style' => 'width: 95%'))?></td>
		</tr>
		<tr class="form-field">
			<th scope="row" valign="top"><label for="companyaddress-input">Địa chỉ</label></th>
			<td><?php echo$form->input('Company.address', array('id' => 'companyaddress-input', 'size' => '50', 'style' => 'width: 95%', 'label' => ''))?></td>
		</tr>
		<tr class="form-field">
			<th scope="row" valign="top"><label for="companyemail-input">Email</label></th>
			<td><?php echo$form->input('Company.email', array('id' => 'companyemail-input', 'size' => '50', 'style' => 'width: 95%', 'label' => ''))?></td>
		</tr>
		<tr class="form-field">
			<th scope="row" valign="top"><label for="companywebsite-input">Website</label></th>
			<td><?php echo$form->input('Company.website', array('id' => 'companywebsite-input', 'size' => '50', 'style' => 'width: 95%', 'label' => ''))?></td>
		</tr>
		<tr class="form-field">
			<th scope="row" valign="top"><label for="companytel-input">Điện thoại</label></th>
			<td><?php echo$form->input('Company.tel', array('id' => 'companytel-input', 'size' => '50', 'style' => 'width: 95%', 'label' => ''))?></td>
		</tr>
	</tbody>
</table>
								
<button type="submit" class="button">Lưu thông tin</button>
<?php echo $form->end();?>

